<template>
  <div class="paySuccess">
    <!--  顶部  -->
    <div class="header">
      <span class="ok_btn" @click="ok">完成</span>
    </div>

    <div class="section_top">
      <div class="section_top_item">
        <van-icon class="top_icon" name="checked" />
      </div>
      <div class="section_top_item">
        <h1 class="top_title_content">支付成功</h1>
      </div>
      <div class="section_top_item" style="margin-top: 17px;">
        <span class="top_info_content">请耐心等待包裹的到来</span>
      </div>

    </div>
    <img class="section_top_border" src="../../assets/img/user/border.png" />

    <div class="section_bottom">
      <h1 class="section_bottom_title">
        订单信息
      </h1>
      <p class="section_bottom_info">订单编号： {{ orderCode }}</p>
      <p class="section_bottom_info">物品数量： {{ orderNumber }}</p>
      <p class="section_bottom_info">订单金额： {{ orderPrice }}</p>
      <p class="section_bottom_info">
        收货信息：
        <span class="section_bottom_info__more">{{ information }}</span>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  name: "paySuccess",
  data() {
    return {
      orderCode: "12816371745165461",
      orderNumber: "2",
      orderPrice: "12333",
      information:
        "王木木，1385763778，浙江省杭州市余杭 区仓前街道文一西路1326号"
    };
  },
  created() {},
  methods: {
    ok() {
      console.log("完成");
    }
  }
};
</script>

<style scoped lang="less">
@deep: ~">>>";
.paySuccess {
  .header {
    width: 100%;
    height: 98px;
    line-height: 98px;
    padding: 0 30px;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(226, 226, 226, 1);
    text-align: right;
    .ok_btn {
      font-size: 32px;
      font-family: Adobe Heiti Std;
      font-weight: normal;
      color: rgba(51, 51, 51, 1);
    }
  }
  .section_top {
    width: 100%;
    height: 381px;
    background: rgba(255, 255, 255, 1);
    padding-top: 86px;
    .section_top_item {
      width: 100%;
      text-align: center;
      .top_icon {
        font-size: 90px;
        color: rgba(255, 59, 62, 1);
      }
      .top_title_content {
        font-size: 38px;
        font-family: SourceHanSansCN;
        font-weight: 600;
        color: rgba(51, 51, 51, 1);
        margin-top: 37px;
      }
      .top_info_content {
        font-size: 30px;
        font-family: SourceHanSansCN;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
      }

    }
  }
  .section_top_border {
    width: 100%;
    height: 12px;
  }
  .section_bottom {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 1);
    margin-top: 30px;
    padding: 40px 30px;
    .section_bottom_title {
      font-size: 34px;
      font-family: Adobe Heiti Std;
      font-weight: normal;
      color: rgba(51, 51, 51, 1);
      line-height: 60px;
    }
    .section_bottom_info {
      line-height: 55px;
      font-size: 28px;
      font-family: Adobe Heiti Std;
      font-weight: normal;
      color: rgba(51, 51, 51, 1);
      .section_bottom_info__more {
        width: 545px;
        float: right;
      }
    }
  }
}
</style>
